Skip to content

feat(desktop): Raft theme + zh/en i18n - #3285

Open
tianheil3 wants to merge 2 commits into
block:mainfrom
tianheil3:agent/buzz-ui-ram-home
Open

feat(desktop): Raft theme + zh/en i18n#3285
tianheil3 wants to merge 2 commits into
block:mainfrom
tianheil3:agent/buzz-ui-ram-home

Conversation

@tianheil3

Copy link
Copy Markdown

Summary

  • Desktop Raft/home_portal theme: cream paper background, charcoal sidebar, amber primary, hard borders (--radius: 0), Space Grotesk
  • Desktop zh/en language switch (default Chinese) with localStorage persistence
  • Main-path i18n: top chrome, sidebar nav, settings nav/appearance, search shell
  • Optional token/font alignment for admin-web/web previews

Verify

  • cd desktop && pnpm typecheck
  • node --import ./test-loader.mjs --experimental-strip-types --test src/shared/i18n/i18n.test.mjs ✅ (5 pass)
  • pnpm exec vite build

Exact

b54abcdaa6d1be2ee77bf4fd0f78438a8f2ec79f on tianheil3/buzz branch agent/buzz-ui-ram-home

Notes

  • Full desktop string coverage is intentionally phase-2; main shell paths are covered.
  • Does not change relay protocol.

Apply BC home_portal raft tokens (cream paper, charcoal sidebar, amber
primary, hard radius, Space Grotesk) across desktop shell styles and
shared controls. Add a lightweight Desktop i18n layer with default
Chinese, top-chrome and settings language toggles, and main-path
coverage for sidebar, settings nav, search, and appearance.

Also aligns admin-web/web font/token previews non-blockingly.
@tianheil3
tianheil3 requested a review from a team as a code owner July 28, 2026 09:20
Review needs_rework: ThemeProvider no longer lets createThemeVars /
neutral accent wipe raft chrome on buzz/buzz-dark. Overlay raft shell
vars after adaptive theme load, pin amber primary, and bump FOUC cache.

Translate search empty/recent/actions/context and settings
back/permissions/retry strings. Add raft-shell + i18n persistence unit
tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant